//
//  AppAddrssBaseModel.swift
//  XWHAOfflineFitting
//
//  Created by edy on 2024/1/4.
//

import UIKit

class AppAddrssBaseModel<T: Any>: HandyJSONCloneableBaseModel {
    
    /** 省、市、区对应的code或id */
    var code = ""
    /** 名称 */
    var name = ""
    /**下级数组**/
    var list: [T] = []
    
    /** 记录选择的索引位置 */
    let index = -1
    
    override var description: String {
        "{ code = \(code), name = \(name), index = \(index) }"
    }

}
